package Mediator_Pattern.temperature;

// -*-coding:utf-8 -*-
//人员：刘陆鑫
//班级：19软3
//学号；2019110218
public abstract class Component {
    protected Mwdiator mwdiator;

    public void setMwdiator(Mwdiator mwdiator) {
        this.mwdiator = mwdiator;
    }
    public void play(){
        mwdiator.start(this);
    }
}
